package org.bigdata.zc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by Stephen on 2017/10/29.
 */
@RestController
@EnableAutoConfiguration
@SpringBootApplication
@ComponentScan({"org.bigdata.zc"})
public class Application {
    @RequestMapping("/test")
    String home() {
        return "Hello World!";
    }

    public static void main(String[] args) throws Exception {
        SpringApplication.run(Application.class, args);
        //System.out.println(Float.valueOf(15)/Float.valueOf(25)*100);
    }


}
